objects = log.o daemon.o server.o  hash.o 
libs = -lm -lpthread  -lev  
object = libs/libcomm.so

$(object) : $(objects)
	gcc -Wall -g  -fPIC -shared -o $(object) $(objects) $(libs)

#main.o : server.h pub.h
log.o : log.h
daemon.o : daemon.h
server.o : server.h
hash.o : hash.h


.PHONY : clean
clean :
	rm -f  $(object) $(objects)
